from selenium.webdriver.support.ui import Select
class common_select:
    def many_select(self,webd):
        selectls = webd.find_elements_by_tag_name('select')
        for i in range(len(selectls)):
            Select(selectls[i]).select_by_value('1')
    def addr_select(self,webd):
        selectls = webd.find_elements_by_tag_name('select')
        Select(selectls[0]).select_by_value('510000')
        Select(selectls[1]).select_by_value('510100')
        Select(selectls[2]).select_by_value('510107')